﻿<Page
    x:Class="Prism.Example.Shell"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:Prism.App.Example"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:cal="clr-namespace:Microsoft.Practices.Prism.Regions;assembly=Prism.Desktop.Metro" 
    mc:Ignorable="d">
    

    <Grid Style="{StaticResource LayoutRootStyle}" >
        <StackPanel>
            
                <TextBlock Text="Hello World" FontSize="34"></TextBlock>

        <ContentControl x:Name="titleContent"  Margin="20,20,20,20" > 

        </ContentControl>
        

        </StackPanel>
        
        <AppBar HorizontalContentAlignment="Stretch" Height="88" VerticalContentAlignment="Stretch" VerticalAlignment="Bottom">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition/>
                    <ColumnDefinition/>
                </Grid.ColumnDefinitions>
                <StackPanel Grid.Column="1" Orientation="Horizontal" HorizontalAlignment="Right">
                    <Button Content="Page1" Click="Button_Click_1" ></Button>
                    <Button Content="View1" Click="Button_Click_2"></Button>
                </StackPanel >
                
                <StackPanel Orientation="Horizontal"/>
            </Grid>
        </AppBar>


    </Grid>
</Page>
